package com.gruopbuying.agent.pojo;

public class CommonConstants {
    /**
     * Jwt信息
     */
    public final static String CONTEXT_TOKEN="Authorization";
    public final static String CONTEXT_USERNAME="contextUsername";
    public final static String CONTEXT_USER_ID="contextUserId";
    public final static String CONTEXT_NAME="contextName";
    public final static String CONTEXT_AGENT_ID="contextAgentId";
    public final static String JWT_PRIVATE_KEY ="ywxd";
    public final static String RENEWAL_TIME =  "renewalTime";
    public final static String TOKEN = "token";

    /**
     * 删除状态，1表示未删除
     */
    public static final String COMMON_FLAG_UNDEL = "1";
    /**
     * 删除状态，0表示删除
     */
    public static final String COMMON_FLAG_DEL = "0";

    /**
     * 启用状态，1表示正常使用
     */
    public static final String COMMON_STATE_UES = "1";

    /**
     * 启用状态，0表示未启用
     */
    public static final String COMMON_STATE_UNUES = "0";

    /**
     * 服务商户初始值为0，表示正常
     */
    public static final String COMMON_FREEZESTATUS = "0";
    /**
     * 总代理商agent_id
     */
    public static final String COMMON_AGENT_ID = "00000";


    /**
     * 用户token过期时间，天
     */
    public static final Long COMMON_TOKEN_DAY = new Long(30);
}
